package com.binfenhulian.chinaenergy.ces.manage.service.account;

import com.binfenhulian.chinaenergy.ces.core.exception.BaseException;
import com.binfenhulian.chinaenergy.ces.manage.bean.param.SessionParam;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by wanghjbuf on 2018/3/20.
 */
public interface OnlineService {

    /**
     * 通过httprequest获取在线用户
     * @return
     * @throws BaseException
     */
    public SessionParam getOnlineUserByRequest(HttpServletRequest request) throws BaseException;
}
